package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ProjectName: IEIS2-COM
 * @Package: com.indusfo.spc.pojo
 * @ClassName: Blxxtype
 * @Author: 熊冰
 * @Description: 不良现象
 * @Date: 2019/8/20 9:50
 * @Version: 1.0
 */
@Table(name = "ba_badpheno_type")
public class Blxxtype extends BasePojo {
    @Id
    @Column(name = "badpheno_type_id",insertable=false)
    //类型编号
    private Integer badphenoTypeId;
    //类型名称
    private String badphenoTypeName;
    //类型父编号
    private Integer badphenoTypePid;
    //备注
    private String remark;
    //数据状态
    //1，正常，2.删除，3、停用
    private Integer dataState;

    //标记
    private Integer flag;



    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Blxxtype() {
        super();
    }

    public Integer getBadphenoTypeId() {
        return badphenoTypeId;
    }

    public void setBadphenoTypeId(Integer badphenoTypeId) {
        this.badphenoTypeId = badphenoTypeId;
    }

    public String getBadphenoTypeName() {
        return badphenoTypeName;
    }

    public void setBadphenoTypeName(String badphenoTypeName) {
        this.badphenoTypeName = badphenoTypeName == null ? null : badphenoTypeName.trim();
    }

    public Integer getBadphenoTypePid() {
        return badphenoTypePid;
    }

    public void setBadphenoTypePid(Integer badphenoTypePid) {
        this.badphenoTypePid = badphenoTypePid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    @Override
	public String toString() {
		return "Blxxtype [badphenoTypeId=" + badphenoTypeId + ", badphenoTypeName=" + badphenoTypeName
				+ ", badphenoTypePid=" + badphenoTypePid + ", remark=" + remark + ", dataState=" + dataState + ", flag="
				+ flag + "]";
	}

	public String BasePojoToString() {
        return super.toString();
    }
}
